﻿<%@ Page Language="VB" MasterPageFile="~/Pages/Site.master" AutoEventWireup="false" CodeFile="Forum.aspx.vb" Inherits="Pages_Forum" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1>Forum</h1>
<div id="forum">
<fieldset>
<legend>GästBok</legend>
Namn:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtName" runat="server"></asp:TextBox><br />
Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox><br />
<br />
        Rubrik:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtHeadermessage" runat="server"></asp:TextBox><br />
       Meddelande: <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine"></asp:TextBox><br />
        <br />
        <asp:Button ID="btnsendmessage" runat="server" text="skicka"/>


</fieldset>
</div>

<div id="forumlist">
<asp:Repeater ID="rptforum" runat="server">
<ItemTemplate>

<%#DataBinder.Eval(Container.DataItem, "DateNews")%>, 
<%#DataBinder.Eval(Container.DataItem, "Name")%>, 
<%#DataBinder.Eval(Container.DataItem, "Email")%><br />
<strong><%#DataBinder.Eval(Container.DataItem, "Header")%></strong><br />
<%#DataBinder.Eval(Container.DataItem, "Texten")%><br />

<hr /><br /><br />
</ItemTemplate>


</asp:Repeater>

</div>
</asp:Content>

